{% extends 'base.html' %}
{% block seo %}
    <title>{% if isreaded %}（新消息）{% endif %}商品市场 - {{ web_config.title }}</title>
    <meta name="keywords" content="商品市场,商品交易,虚拟商品">
    <meta name="description" content="市肥宅中心商品市场交易中心">
{% endblock %}
{% block content %}
    <div class="section-header">
        <div class="section-header-left">
            <h3><font style="vertical-align: inherit;"><font
                    style="vertical-align: inherit;">商品列表 </font></font></h3>
        </div>
        <div class="section-header-right">
            <a href="/pbmarket/?curnav={{ curnav }}" class="see-all"><font style="vertical-align: inherit;"><font
                    style="vertical-align: inherit;">发布商品</font></font></a>
        </div>
    </div>
    <div class="uk-child-width-1-3@s uk-grid" uk-grid="">
        {% for market in mthreads %}
            <div class="uk-first-column">
                <div class="sl_jobs_list">
                    <div class="sl_jobs_list_media">
                        <a href="/market/{{ market.id }}/">
                            <img src="{{ market.attachmt }}" alt="{{ market.mketname }}">
                        </a>
                    </div>
                    <div class="sl_jobs_list_info">
                        <span class="sl_jobs_list_info_price">Ұ {{ market.mktprice }}円</span>
                        <h3><a href="/market/{{ market.id }}/">{{ market.mketname }}</a></h3>
                        <ul>
                            <li>发布者：<a
                                    href="/profile/?u={{ market.postuser.nickname }}">{{ market.postuser.nickname }}</a>
                            </li>
                        </ul>
                        <p style="overflow: hidden; white-space: nowrap; text-overflow: ellipsis;">
                            {{ market.contents }}</p>
                    </div>
                </div>
            </div>
        {% endfor %}
    </div>
    <hr class="my-3 my-sm-2">
    {% include "common/pagination.html" %}
{% endblock %}